{% extends "base.html" %}
{% block title %}
Add Contact
{% endblock %}

{% block content %}
<form method=post action=/addcontact>
<table>
<tr><td>Name:<td><input name='name'></tr>
<tr><td>Title:<td><input name='title'></tr>
<tr><td>Address:<td><input name='address'></tr>
<tr><td>Postcode:<td><input name='postcode'></tr>
<tr><td>Phone:<td><input name='phone'></tr>
<tr><td>Email:<td><input name='email'></tr>
<script language='javascript'>
	function launchMap() {
	winCal=window.open("/static/mapdemo.html","MapDemo","toolbar=0,status=0,menubar=0,fullscreen=no,width=500,height=450,resizable=1,top=0,left=0");
	}
</script>
<tr><td>Lat/Long:<td><input name='lat' id='lat'><input name='long' id='lng'><input type=button value=Maps onclick=launchMap()></tr>
<tr><td><td><input type=submit name='submit'</tr>
<input type=hidden name=event value={{eventkey}}>
</table>
</form>
{% endblock %}
